package controleur;

import ihm.IHM;
import metier.maps.EnsMaps;
import metier.maps.Map;
import metier.perso.PersoHero;


public class Controleur {
	
	private EnsMaps ensMaps;
	private Map mapEnCours;
	private PersoHero hero;
	private IHM ihm;
	
	public Controleur() {
		
		String[] images = {"hero.png"};
		hero = new PersoHero(this, images, 0, 1, 1, "TeuTeuf", 42, 42, 42, 42, 42, 42);
		
		ensMaps = new EnsMaps();
		
		mapEnCours = ensMaps.getMap(0);
		
		ihm = new IHM(this);
		ihm.initMap();
		
	}
	
	public Map getMapEnCours() {
		return mapEnCours;
	}
	
	
	public PersoHero getHero() {
		return hero;
	}
	
	public IHM getIHM() {
		return ihm;
	}

	
	public static void main(String[] args) {
		new Controleur();
	}
}
